/* Copyright (c) 2010-2020 Vadim Surov.
 */
package com.srv.shared;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.sencha.gxt.data.shared.loader.PagingLoadConfig;
import com.sencha.gxt.data.shared.loader.PagingLoadResult;

/**
 * The asynchronous interface for calls to {@link Service}.
 *
 *
 */
public interface ServiceAsync {

	/**
	 * @see Service#login()
	 * @param callback
	 */
	public void login(String sessionKey, String runKey, AsyncCallback<LoginInfo> async);

	/**
	 * @see Service#getSetInfoList()
	 * @param callback
	 */
	public void getSetInfoList(PagingLoadConfig config, AsyncCallback<PagingLoadResult<SetInfo>> callback);
}